Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

Resolved - Problem populating authors fields on docs with no readers fields
~Rebecca Quettumivitchgon 12.Dec.03 09:53 AM a Web browser
Applications Development 6.0.1 CF2 Windows NT


Thankyou for your postings but I think I have found what the problem was.

The agent that was repopulating the authors field was setting it to IsNames each time a name was added then saving but not setting IsAuthors until all author names had been added to the field. R5 allowed you to set the Authors field type after the field had been populated and the document saved but Notes 6 does not.

The authors fields already existed on the document as type Authors. The agent was using GetFirstItem and AppendToTextList to repopulate the fields but because Notes recognised it as an authors field and I was populating it with text and then setting it to IsNames and saving the document each time, some new security feature in Notes 6 was immediately locking everyone out of the document regardless of their ACL access because the Authors fields were being populated incorrectly. The message returned by the agent was "You are not authorised to perform that operation".

If a readers field existed on the document then the ACL access was unaffected.

Also, if ReplaceItemValue was used instead of GetFirstItem then this worked because the agent was not picking up a field that was already an Authors field it was simply replacing a field value.

The solution was to set IsAuthors prior to each save rather than setting IsAuthors at the end once the field had been populated.




Problem populating authors fields o... (~Rebecca Quettu... 10.Dec.03)
. . RE: Problem populating authors fiel... (~Lily Nonwether... 10.Dec.03)
. . . . RE: Problem populating authors fiel... (~Rebecca Quettu... 11.Dec.03)
. . . . . . RE: Problem populating authors fiel... (~Lily Nonwether... 11.Dec.03)
. . . . . . . . RE: Problem populating authors fiel... (~Rebecca Quettu... 11.Dec.03)
. . . . . . . . . . RE: Problem populating authors fiel... (~Bill Frokimari... 11.Dec.03)
. . . . . . . . . . . . Resolved - Problem populating autho... (~Rebecca Quettu... 12.Dec.03)
. . . . . . . . . . . . . . RE: Resolved - Problem populating a... (~Bill Frokimari... 12.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS